#!/bin/bash

num=1

let num++
echo "num=$num"

let num2=num++
echo "num2=$num2"
echo "num=$num"

let num2=++num
echo "num2=$num2"
echo "num=$num"